package com.lzy.webapi.response;

import java.io.Serializable;

/**
 * APP订单详情返回对象
 * Created by WIN7 on 2017/12/15.
 */
public class OrderCouponsDetailAppResponse implements Serializable {
    private static final long serialVersionUID = -1692598078495606667L;
    /**
     * 订单号
     */
    private Long orderId;

    /**
     * 状态（1-待支付，2-购买成功（审核中），3-已关闭，4-返现中，5-已到期）
     */
    private Integer status;

    /**
     * 合同URL
     */
    private String contractUrl;

    /**
     * 合同审核状态
     */
    private Integer contractVerify;

    /**
     * 审核理由
     */
    private String reason;

    /**
     * 付款时间
     */
    private String payTime;

    /**
     * 签名照
     */
    private String signedPhoto;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 身份证号
     */
    private String idCard;

    /**
     * 温馨提示
     */
    private String reminder;

    private String statusName;//订单状态名称


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        if (status != null) {
            if (status.equals(1))
                this.statusName = "待支付";
            if (status.equals(2))
                this.statusName = "审核中";
            if (status.equals(3))
                this.statusName = "已关闭";
            if (status.equals(4))
                this.statusName = "补贴中";
            if (status.equals(5))
                this.statusName = "已完结";
        }
        this.status = status;
    }

    public Integer getContractVerify() {
        return contractVerify;
    }

    public void setContractVerify(Integer contractVerify) {
        this.contractVerify = contractVerify;
    }

    public String getReminder() {
        return reminder;
    }

    public void setReminder(String reminder) {
        this.reminder = reminder;
    }

    public String getStatusName() {
        return statusName;
    }

    public String getContractUrl() {
        return contractUrl;
    }

    public void setContractUrl(String contractUrl) {
        this.contractUrl = contractUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getSignedPhoto() {
        return signedPhoto;
    }

    public void setSignedPhoto(String signedPhoto) {
        this.signedPhoto = signedPhoto;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }
}
